package com.sbtr.open.user.dto;

/**
 * 用户信息，用户登录时从ldap返回结果中获取
 * @author oujh5
 *
 */
public class UserInfoDto {

	/**
	 * 主键id，自增
	 */
	private Long id;
	/**
	 * 用户姓名/ cn
	 */
	private String username;
	/**
	 * 用户mip账号/ uid
	 */
	private String uid;
	/**
	 * 用户所属部门名称/ meicloud-departmentname
	 */
	private String departmentName;
	/**
	 * 职位名称/ meicloud-positionname
	 */
	private String positionName;
	/**
	 * 用户登录成功后，jwt签发的token
	 */
	private String jwtToken;

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getPositionName() {
		return positionName;
	}
	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}
	public String getJwtToken() {
		return jwtToken;
	}
	public void setJwtToken(String jwtToken) {
		this.jwtToken = jwtToken;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

}
